Google News
logo
TypeScript - Quiz(MCQ)
What is the type of the parameter: 'function ex(param1?: string){}'?
A)
string
B)
string | undefined
C)
string | null
D)
unknown

Correct Answer :   string | undefined

Advertisement